package com.liudadan.java_springboot_base_helloworld.pojo;

import lombok.Data;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "liudadan.user")
public class User {


    private String name;

    private Integer age;
}
